<?php /*a:2:{s:56:"/www/wwwroot/llz/application/admin/view/domain/edit.html";i:1716223610;s:58:"/www/wwwroot/llz/application/admin/view/public/father.html";i:1708691164;}*/ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
    <style>*{font-weight: 300;}</style>
    
</head>
<body>

<div style="margin: 15px;">
    
<div class="layui-card">
    <div class="layui-card-body">

        <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
            <p>普 通 域 名，格式：www.qq.com</p>
            <p>支持泛域名，格式：*.qq.com</p>
            <p>入口域名：分享卡片对应的域名，只要入口域名不封，分享卡片就一直能打开</p>
            <p>落地域名：打开网页用到的域名，系统自动随机切换</p>
	        <p>分享域名：分享时所使用的域名</p>
            <p>跳转域名：回退跳转功能专用域名</p>
        </blockquote>

        <form class="layui-form layui-form-pane" method="post" style="margin-top: 10px;">

            <div class="layui-form-item">
                <label class="layui-form-label">域名</label>
                <div class="layui-input-block">
                    <input type="text" name="domain" value="<?php echo htmlentities($data['domain']); ?>" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">域名类型</label>
                <div class="layui-input-block">
                    <select name="type" lay-verify="required">
                        <option value="1" <?php echo $data['type']==1 ? 'selected' : ''; ?>>入口域名「备案」</option>
<!--                        <option value="2" <?php echo $data['type']==2 ? 'selected' : ''; ?>>落地域名「无要求，随意」</option>-->
                        <option value="3" <?php echo $data['type']==3 ? 'selected' : ''; ?>>分享域名「备案」</option>
                        <option value="9" <?php echo $data['type']==9 ? 'selected' : ''; ?>>跳转域名「回退跳转专用」</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">排序</label>
                <div class="layui-input-block">
                    <input type="text" name="sort" value="<?php echo htmlentities($data['sort']); ?>" value="500" required lay-verify="number" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">域名状态</label>
                <div class="layui-input-block">
                    <input type="text" name="jiekou" value="<?php echo htmlentities($data['jiekou']); ?>" autocomplete="off" placeholder="可为空，微信域名检测结果" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">备注信息</label>
                <div class="layui-input-block">
                    <input type="text" name="desc" value="<?php echo htmlentities($data['desc']); ?>" autocomplete="off" placeholder="仅限管理员备注信息，其他地方不使用、不显示" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">域名检测</label>
                <div class="layui-input-block">
                    <input type="checkbox" name="check" value="1" lay-skin="switch" lay-text="启用|禁用" <?php echo $data['check']==1 ? 'checked'  :  ''; ?>>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input type="checkbox" name="status" value="1" lay-skin="switch" lay-text="启用|禁用" <?php echo $data['status']==1 ? 'checked'  :  ''; ?>>
                </div>
            </div>

            <div class="layui-form-item">
                <div style="text-align: center;">
                    <button class="layui-btn" lay-submit lay-filter="edit">立即提交</button>
                </div>
            </div>

        </form>

    </div>
</div>

<script>
    var editId = "<?php echo htmlentities((isset($data['id']) && ($data['id'] !== '')?$data['id']:0)); ?>";
</script>

</div>

<script src="/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/layuiadmin/layui/layui.js" type="text/javascript"></script>
<script src="/static/js/public.js" type="text/javascript"></script>

</body>
</html>